package com.travel.dao.tourist_demand;

import com.travel.pojo.tourist_demand.TouristRecords;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface TouristRecordsMapper {

    void addTouristRecords(@Param("touristRecords") TouristRecords touristRecords);

    List<TouristRecords> selectTouristRecordsByUserId(@Param("userid")int userid);
}
